package com.lm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author LM
 * @version 1.0
 * @description: TODO 健康信息
 * @date 2025/9/20 10:59
 */
@Data
@TableName("resident_health_info")
public class HealthInfo {

    @TableId(value = "resident_health_id",type = IdType.AUTO)
    private Integer residentHealthId;  //健康信息唯一标识
    private Integer residentId;  //关联的居民id
    private String residentHealthHeight;  //身高
    private String residentHealthWeight;  //体重
    private String residentHealthBloodType;  //血型
    private Integer residentHealthAllergies;  //过敏状态(1有，2无)
    private String residentHealthAllergiesDetails;  //过敏详情
    private Integer residentHealthPastDiseases;  //既往病史(1有，2无)
    private String residentHealthPastDiseasesDetails;  //既往病史详情
    private Integer residentHealthMedicalHistory;  //就诊史(1有，2无)
    private String residentHealthMedicalHistoryDetails;  //就诊详情
    private Integer residentHealthFamilyHistory;  //家族史(1有，2无)
    private String residentHealthFamilyHistoryDetails;  //家族史详情
    private String residentHealthRemark;  //健康备注
}
